package com.demo.controller;

import com.demo.model.User;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

/**
 * @author krystal
 * @date 2023/3/6 22:34
 */
@Controller
public class UserAdviceController {
    @Resource
    private User user1;

    public void getUser(){
        System.out.println("user1:"+user1);
    }
}
